package org.sump;

import org.sump.data.Role;

/**
 * Interface for UMProvider with roles.
 * @author Sergey Grigorchuk (sergey.grigorchuk@gmail.com)
 * @see {Role}
 */
public interface UMProviderWithRoles extends UMProvider {
	
	/**
	 * Adds role (user group) to the system
	 * @param role role to be added
	 */
	void addRole(Role role);
	
	/**
	 * Removes role (user group) from the system
	 * @param role role to be removed
	 */
	void removeRole(Role role);

}
